//
//  NoteDetailsView.h
//  geoNotes
//
//  Created by Administrator on 6/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Note.h"
#import "Mapkit/MapKit.h"
@protocol NoteDetailsViewControllerDelegate
-(void) noteDetailsViewDidFinish;
-(void) noteDetailsViewDidFinish:(UIViewController*) controller withDelete:(Note*) note;
@end
@interface NoteDetailsView : UIViewController {
    
    UILabel *titleLabel;
    UITextView *messageField;
    Note* note;
    UINavigationBar *navBar;
    MKMapView *mapView;
}
@property (nonatomic, assign) id <NoteDetailsViewControllerDelegate> delegate;
@property (nonatomic, retain) IBOutlet UILabel *titleLabel;
@property (nonatomic, retain) IBOutlet UITextView *messageField;
@property (nonatomic, retain) Note* note;
@property (nonatomic, retain) IBOutlet UINavigationBar *navBar;
@property (nonatomic, retain) IBOutlet MKMapView *mapView;
- (IBAction)done:(id)sender;
- (IBAction)onDelete:(id)sender;

@end
